<template>
    <div class="control-sale">
        <el-tabs v-model="activeName"  >
            <el-tab-pane label="白名单设置" name="first"><white-setting></white-setting></el-tab-pane>
            <el-tab-pane label="限销距离查询" name="second">
                <distance-list></distance-list>
            </el-tab-pane>
            <el-tab-pane label="限销距离设置" name="third">
                <distance-setting></distance-setting>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>
<script>
import whiteSetting from './components/whiteSetting'
import distanceList from './components/distanceList'
import distanceSetting from './components/distanceSetting'
export default {
    name: 'controlSale',
    components: {
        whiteSetting,
        distanceList,
        distanceSetting
    },
    data () {
        return {
            activeName: 'first'
        }
    }
}
</script>
<style lang="scss" scoped>
.control-sale {
    ::v-deep.el-tabs__header {
        background: #fff;
        .el-tabs__nav {
            margin-left: 15px;
        }
    }
}
</style>